<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>pty_master</title>
<meta name='robots' content='noindex,nofollow' />
<meta name='generator' content='GLOBAL-6.5.7' />
<meta http-equiv='Content-Style-Type' content='text/css' />
<link rel='stylesheet' type='text/css' href='../style.css' />
</head>
<body>
<pre>
<span class='curline'><a href='../S/src--subshell--common.c.html#L909'>pty_master</a>        909 src/subshell/common.c     int pty_master;</span>
<span class='curline'><a href='../S/src--subshell--common.c.html#L912'>pty_master</a>        912 src/subshell/common.c     pty_master = posix_openpt (O_RDWR);</span>
<span class='curline'><a href='../S/src--subshell--common.c.html#L915'>pty_master</a>        915 src/subshell/common.c     pty_master = getpt ();</span>
<span class='curline'><a href='../S/src--subshell--common.c.html#L918'>pty_master</a>        918 src/subshell/common.c     pty_master = open (pty_name, O_RDWR);</span>
<span class='curline'><a href='../S/src--subshell--common.c.html#L921'>pty_master</a>        921 src/subshell/common.c     pty_master = open (pty_name, O_RDWR);</span>
<span class='curline'><a href='../S/src--subshell--common.c.html#L924'>pty_master</a>        924 src/subshell/common.c     if (pty_master == -1)</span>
<span class='curline'><a href='../S/src--subshell--common.c.html#L927'>pty_master</a>        927 src/subshell/common.c     if (grantpt (pty_master) == -1      /* Grant access to slave */</span>
<span class='curline'><a href='../S/src--subshell--common.c.html#L928'>pty_master</a>        928 src/subshell/common.c         || unlockpt (pty_master) == -1  /* Clear slave's lock flag */</span>
<span class='curline'><a href='../S/src--subshell--common.c.html#L929'>pty_master</a>        929 src/subshell/common.c         || !(slave_name = ptsname (pty_master)))        /* Get slave's name */</span>
<span class='curline'><a href='../S/src--subshell--common.c.html#L931'>pty_master</a>        931 src/subshell/common.c         close (pty_master);</span>
<span class='curline'><a href='../S/src--subshell--common.c.html#L935'>pty_master</a>        935 src/subshell/common.c     return pty_master;</span>
<span class='curline'><a href='../S/src--subshell--common.c.html#L997'>pty_master</a>        997 src/subshell/common.c     int pty_master;</span>
<span class='curline'><a href='../S/src--subshell--common.c.html#L1009'>pty_master</a>       1009 src/subshell/common.c             pty_master = open (pty_name, O_RDWR);</span>
<span class='curline'><a href='../S/src--subshell--common.c.html#L1010'>pty_master</a>       1010 src/subshell/common.c             if (pty_master == -1)</span>
<span class='curline'><a href='../S/src--subshell--common.c.html#L1019'>pty_master</a>       1019 src/subshell/common.c                 close (pty_master);</span>
<span class='curline'><a href='../S/src--subshell--common.c.html#L1023'>pty_master</a>       1023 src/subshell/common.c             return pty_master;</span>
</pre>
</body>
</html>
